package com.baize.cpdepus.mapper;


import com.baize.cpdepus.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    //分页查询评论，参数：当前查询的页索引
    List<Comment> SelectAll(Integer current, Integer article);

    //添加一条评论
    void InsertOneUpVote(Comment comment);
}
